import React, {Component} from 'react'

import {BrowserRouter , Link} from 'react-router-dom'

import {rlStyle , refresh} from '../../../../config/style.js'


class TalkRmenu extends Component {

  render() {
   
    return (
        <div class="right-nav">
          <div class="rightNav-title">聊天室相关</div>
            <div class="menu">
              <BrowserRouter>
                <Link to="/talk/notice" style={rlStyle}>
                  <div class="menu-item" onClick={refresh}>聊天室通知</div>
                </Link>
                <Link to="/talk/user" style={rlStyle}>
                  <div class="menu-item" onClick={refresh}>聊天室用户</div>
                </Link>
                <Link to="/talk/new" style={rlStyle}>
                  <div class="menu-item" onClick={refresh}>新建聊天室通知</div>
                </Link>
              </BrowserRouter>
              
          </div>
        </div>
    )
  }
}

export default TalkRmenu